package com.example.mapper;

import com.example.entity.Works;

import java.util.List;

public interface WorksMapper {
    void insert(Works works);

    void updateById(Works works);

    void deleteById(Integer id);

    Works selectById(Integer id);

    List<Works> selectAll(Works works);

    List<Works> selectHotWorks(Works works);
}
